<%@ Page Language="VB" AutoEventWireup="false" CodeFile="CashAdvanceDetails.aspx.vb" Inherits="Accounting_CashAdvanceDetails" MasterPageFile="~/MasterPage.master" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<asp:Content ID="content" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <div id="divMain" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" width="800">
            <tr>
            <td align="center" style="font-weight: bold; font-size: 10pt; font-family: Arial; height: 10px;">
                </td>
            <td style="font-size: 11pt; font-family: Arial; font-weight: bold;" align="center">
                </td>
            <td align="center" style="font-weight: bold; font-size: 10pt; font-family: Arial">
                </td>
            <td style="font-size: 11pt; font-family: Arial; font-weight: bold;" align="center">
                </td>
            <td align="center" style="font-weight: bold; font-size: 10pt; font-family: Arial; width: 5px;">
                </td>
            <td style="font-size: 11pt; font-family: Arial; font-weight: bold;" align="center">
                </td>
            <td align="center" style="font-weight: bold; font-size: 10pt; font-family: Arial; width: 137px;">
                </td>
            <td align="left" style="font-weight: bold; font-size: 10pt; font-family: Arial; width: 368px; text-align: right;"></td>
            </tr>
        </table>
    

        <table border="0" cellpadding="0" cellspacing="0" width="800">
            <tr><td style="font-size: 3px; background-color: #105BA4; height: 3px;"></td></tr>
        </table>

        <table border="0" cellpadding="0" cellspacing="0" width="800">
                
        <tr><td style="width: 800px">

            <table border="0" cellpadding="0" cellspacing="0" width="800" style="height: 35px">
                <tr>
                    <td style="font-size: 10pt; font-family: Verdana; width: 140px; vertical-align: top; height: 40px;" align="left">
                        &nbsp;Date:</td>
                    <td align="left" style="width: 260px; height: 40px;" valign="top">
                        <asp:TextBox ID="ARDT_txt" runat="server" Width="232px"></asp:TextBox><asp:Label ID="Label1" runat="server" Font-Names="Verdana" Font-Overline="False"
                            Font-Size="7pt" ForeColor="Gray" Text="dd/mm/yyyy" Width="64px"></asp:Label></td>
                    <td style="font-size: 10pt; font-family: Verdana; width: 100px; height: 40px;" align="left" valign="top">
                        &nbsp;Introducer:</td>
                    <td align="left" style="width: 300px; height: 40px;" valign="top">
                        <asp:DropDownList ID="Advisor_cmb" runat="server" Width="240px">
                    </asp:DropDownList></td>
                </tr>
            </table>
                
        </td></tr>

        <tr><td style="width: 800px">

            <table border="0" cellpadding="0" cellspacing="0" width="800" style="height: 35px">
                <tr>
                    <td style="font-size: 10pt; font-family: Verdana; width: 140px; height: 35px;" align="left">
                        &nbsp;Amount:</td>
                    <td align="left" style="width: 260px; height: 35px;">
                        <asp:TextBox ID="Amount_txt" runat="server" Width="232px"></asp:TextBox></td>
                    <td style="font-size: 10pt; font-family: Verdana; width: 100px; height: 35px;" align="left">
                        &nbsp;Currency:</td>
                    <td align="left" style="width: 300px; height: 35px;">
                        <asp:DropDownList ID="Currency_cmb" runat="server" Width="240px">
                        </asp:DropDownList></td>
                </tr>
            </table>
                
        </td></tr>

        <tr><td style="width: 800px; height: 54px;">

            <table border="0" cellpadding="0" cellspacing="0" width="800" style="height: 35px">
                <tr>
                    <td style="width: 400px; height: 24px;">
                        &nbsp;
                        &nbsp;&nbsp;
                    </td>
                    <td style="height: 24px">
                        <asp:Button ID="Save_btn" runat="server" Text="Save" BackColor="Gainsboro" Font-Names="Verdana" Width="72px" />
                    </td>
                    <td style="height: 24px">
                        <asp:Button ID="Cancel_btn" runat="server" Text="Back" BackColor="Gainsboro" Font-Names="Verdana" Width="72px" CausesValidation="False" PostBackUrl="~/Accounting/CashAdvance.aspx" />
                    </td>
                </tr>
            </table>
                
        </td></tr>

        </table> 
    </div>
    <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server"
        FilterType="Custom, Numbers" TargetControlID="Amount_txt" ValidChars=".">
    </ajaxToolkit:FilteredTextBoxExtender>
    <ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender3" runat="server" Mask="99/99/9999"
        MaskType="Date" TargetControlID="ARDT_txt">
    </ajaxToolkit:MaskedEditExtender>
    <asp:CustomValidator ID="dtv1" runat="server" ClientValidationFunction="valDate"
        ControlToValidate="ARDT_txt" ErrorMessage="Invalid AR Date" ForeColor="White"
        ValidateEmptyText="True">.</asp:CustomValidator>
    <asp:RequiredFieldValidator ID="rfv3" runat="server" ControlToValidate="Advisor_cmb"
        ErrorMessage="Advisor Required" ForeColor="White" Text="."></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="rfv4" runat="server" ControlToValidate="Amount_txt"
        ErrorMessage="Amount Required" ForeColor="White" Text="."></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="rfv5" runat="server" ControlToValidate="Currency_cmb"
        ErrorMessage="Currency Required" ForeColor="White" Text="."></asp:RequiredFieldValidator>&nbsp;<asp:ValidationSummary
            ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" />
    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server"
        TargetControlID="dtv1">
    </ajaxToolkit:ValidatorCalloutExtender>
    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server"
        TargetControlID="rfv3">
    </ajaxToolkit:ValidatorCalloutExtender>
    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" runat="server"
        TargetControlID="rfv4">
    </ajaxToolkit:ValidatorCalloutExtender>
    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender4" runat="server"
        TargetControlID="rfv5">
    </ajaxToolkit:ValidatorCalloutExtender>
</asp:Content>